package com.jch.dm4_promise.examples;

import java.util.HashMap;
import java.util.Map;

public class CaseRunner {

    public static void main(String[] args){
        Map<String,String> params = new HashMap<>();
        params.put("server","127.0.0.1");
        params.put("username","dataCenter");
        params.put("password","test1234");
        params.put("serverDir","~/");
        System.setProperty("ftp.client.impl","com.jch.dm4_promise.examples.FTPClientUtil");
        DataSyncTask dst = new DataSyncTask(params);
        Thread t = new Thread(dst);
        t.start();
    }

}
